// 加入两个 nextTick 的回调函数
process.nextTick(() => {
  console.log('nextTick延迟执行1')
})
process.nextTick(() => {
  console.log('nextTick延迟执行2')
})

// 加入两个setImmediate回调函数
setImmediate(() => {
  console.log('setImmediate延迟回调1')
  // 进入下一次循环
  process.nextTick(() => {
    console.log('强势插入')
  })
})
setImmediate(() => {
  console.log('setImmediate延迟回调2')
})
console.log('正常执行')
